from common.Tools import Tools
from page.general import General


class ShopPage(General, metaclass=Tools):
    SHOP = 'shop.jpg'
    FREE = 'free.jpg'
    BUY = 'buy.jpg'
    def click_shop(self):
        return self.click_match_xy(self.SHOP)

    def click_free(self):
        return self.click_match_xy(self.FREE)

    def click_buy(self):
        return self.click_match_xy(self.BUY)